package com.baizhi.cmfzmanager.dao;

import com.baizhi.cmfzmanager.entity.Article;
import com.baizhi.cmfzmanager.entity.ArticleDTO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface ArticleDao extends BaseMapper<Article> {

    int updateById(Article article);

    List<ArticleDTO> getTwoArticle();

    List<ArticleDTO> getAllArticle();

    List<ArticleDTO> getArticleByGuruId(Integer guruId);
}
